//
//  UILabel+YLAdditions.m
//  yuLink
//
//  Created by aiwoba on 2021/3/5.
//

#import "UILabel+YLAdditions.h"

@implementation UILabel (YLAdditions)
+ (UILabel *)lableWithTextColor:(UIColor *)color
                       textFont:(UIFont *)font
                           text:(NSString *)str{
    UILabel * lable = [[UILabel alloc] init];
    if (color) {
        lable.textColor = color;
    }
    lable.font = font;
    if (str.length > 0) {
        lable.text = str;
        
    }
    return lable;
}

@end
